package in.iqing.base;

import android.app.Application;
import android.content.Context;
import android.os.Bundle;

public abstract class BaseApplication extends Application {

	@Override
	public void onCreate() {
		super.onCreate();

		onInitialize(null);
		onPostCreate(null);
	}

	protected void onInitialize(Bundle savedInstanceState) {
	}

	protected void onPostCreate(Bundle savedInstanceState) {
	}

	protected Context getContext() {
		return getApplicationContext();
	}
}
